package ming.hello.dao;

import ming.hello.entry.User;
import ming.hello.entry.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by jamy on 2020-09-03
 */
@Mapper
public interface UserInfoDao {

    List<UserInfo> queryUser(String id);

    List<UserInfo> queryUsers(List<String> list);

    List<UserInfo> queryUserByNameAndId(Map<String, Object> map);

    void addUsers(List<UserInfo> list);

    void deleteUser(String id);

    void updateAddressByName(Map<String, Object> map);


}
